#ifndef _RTOS_MALLOC_H_  
#define _RTOS_MALLOC_H_  
/**
 * \file event.h
 * \author Clecio Varjao and Leanne Ross
 * \date October 2007
 * \brief A Skeleton Implementation for Objects allocation and release
 */

	#include "queue.h"
	#include "event.h"
	#include "kernel.h"

	EVENT *event_alloc(void);
	void event_free(EVENT *e);

	QUEUE_ITEM *queue_item_alloc();
	void queue_item_free(QUEUE_ITEM *o);

	QUEUE *queue_alloc();
	void queue_free(QUEUE *q);
	
	TASK_CONSTRUCTOR *TC_alloc();
	void TC_free(TASK_CONSTRUCTOR *o);

	TASK_DESCRIPTOR *TD_alloc();
	void TD_free(TASK_DESCRIPTOR *o);

	TASK_EXECUTER *TE_alloc();
	void TE_free(TASK_EXECUTER *o);

#endif /* _RTOS_MALLOC_H_ */
